import request from '@/utils/request'

export function getFamilyInfo(username) {
  return request({
    url: '/user/family/getFamilyInfo',
    method: 'get',
    params: {username}
  })
}

export function editFamilyInfo(data) {
  return request({
    url: '/user/family/editFamilyInfo',
    method: 'post',
    data
  })
}

